/*
 * @Author: sundingliang
 * @Date: 2021-06-02 17:09:07
 * @LastEditors: sundingliang
 * @LastEditTime: 2021-06-02 17:17:43
 * @Description: file content
 * @FilePath: \vue-admin-template-master\src\api\edu\video.js
 */
import request from '@/utils/request'
export default {

  // 添加小节
  addVideo(video) {
    return request({
      url: '/eduservice/video/addVideo',
      method: 'post',
      data: video
    })
  },

  // 删除小节
  deleteVideo(id) {
    return request({
      url: '/eduservice/video/' + id,
      method: 'delete'
    })
  },
  // 删除视频
  deleteAliyunvod(id) {
    return request({
      url: '/eduvod/video/removeAlyVideo/' + id,
      method: 'delete'
    })
  }

}
